//table组建参数配置
export const defaultTableAttrs = {
  data: null,
  height: null,
  "max-height": null,
  stripe: false,
  border: false,
  size: null,
  fit: true,
  "show-header": true,
  "highlight-current-row": true,
  "current-row-key": null,
  "row-class-name": null,
  "row-style": null,
  "cell-class-name": null,
  "cell-style": null,
  "header-row-class-name": null,
  "header-row-style": null,
  "header-cell-class-name": null,
  "header-cell-style": null,
  "row-key": null,
  "empty-text": "暂无数据",
  "default-expand-all": false,
  "expand-row-keys": null,
  "default-sort": {},
  "tooltip-effect": null,
  "show-summary": false,
  "sum-text": "合计",
  "summary-method": null,
  "span-method": null,
  "select-on-indeterminate": true,
  indent: 16,
  lazy: null,
  load: null,
  "tree-props": { hasChildren: "hasChildren", children: "children" }
};

export const defaultColumn = {
  type: null,
  index: null,
  "column-key": null,
  label: null,
  prop: null,
  width: null,
  "min-width": null,
  fixed: null,
  "render-header": null,
  sortable: false,
  "sort-method": null,
  "sort-by": null,
  "sort-orders": ["ascending", "descending", null],
  resizable: true,
  formatter: null,
  "show-overflow-tooltip": false,
  align: "left",
  "header-align": null,
  "class-name": null,
  "label-class-name": null,
  selectable: null,
  "reserve-selection": false,
  filters: null,
  "filter-placement": null,
  "filter-multiple": true,
  "filter-method": null,
  "filtered-value": null
};

export const defaultPagination = {
  pageSize: 10,
  currentPage: 1,
  total: 0,
  layout: "total, sizes, prev, pager, next, jumper"
};